The 'CFIG' resource could not be written